package com.tsing.pojo.vo;

import java.time.LocalDateTime;

/**
 * @author 吴阳基
 * @datetime 2023/12/16 10:50
 */
public class LetterVO {
    private Long id;
    private Long userId;
    private Long senderId;
    private String content;
    private Long isRead;
    private LocalDateTime createdTime;
    private LocalDateTime readTime;
//    private String  senderName;
    private String userName;
//    private String senderAvatar;
    private String userAvatar;

    public LetterVO() {
    }

    public LetterVO(Long id, Long userId, Long senderId, String content, Long isRead, LocalDateTime createdTime, LocalDateTime readTime, String userName, String userAvatar) {
        this.id = id;
        this.userId = userId;
        this.senderId = senderId;
        this.content = content;
        this.isRead = isRead;
        this.createdTime = createdTime;
        this.readTime = readTime;
        this.userName = userName;
        this.userAvatar = userAvatar;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return senderId
     */
    public Long getSenderId() {
        return senderId;
    }

    /**
     * 设置
     * @param senderId
     */
    public void setSenderId(Long senderId) {
        this.senderId = senderId;
    }

    /**
     * 获取
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取
     * @return isRead
     */
    public Long getIsRead() {
        return isRead;
    }

    /**
     * 设置
     * @param isRead
     */
    public void setIsRead(Long isRead) {
        this.isRead = isRead;
    }

    /**
     * 获取
     * @return createdTime
     */
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    /**
     * 设置
     * @param createdTime
     */
    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 获取
     * @return readTime
     */
    public LocalDateTime getReadTime() {
        return readTime;
    }

    /**
     * 设置
     * @param readTime
     */
    public void setReadTime(LocalDateTime readTime) {
        this.readTime = readTime;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return userAvatar
     */
    public String getUserAvatar() {
        return userAvatar;
    }

    /**
     * 设置
     * @param userAvatar
     */
    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String toString() {
        return "LetterVO{id = " + id + ", userId = " + userId + ", senderId = " + senderId + ", content = " + content + ", isRead = " + isRead + ", createdTime = " + createdTime + ", readTime = " + readTime + ", userName = " + userName + ", userAvatar = " + userAvatar + "}";
    }
}
